/*
 * Powered By XY
 * Since 2020
 */

package com.xy.biz.xd.client;

import java.util.Collection;
import java.util.List;

import com.xy.biz.xd.domain.req.documentRelease.GetDocumentReleaseRequest;
import com.xy.biz.xd.domain.req.documentRelease.ListDocumentReleaseRequest;
import com.xy.lang.domain.Page;
import com.xy.lang.domain.Result;
import com.xy.biz.xd.domain.resp.GetDocumentReleaseResponse;

/**
 *
 *
 * @author wcs
 * @date 2021-3-4
 */
public interface DocumentReleaseClient {

	/**
	 * 查找一个
	 *
	 * @param request
	 * @return
	 */
//	Result<GetDocumentReleaseResponse> getDocumentRelease(GetDocumentReleaseRequest request);

	/**
	 * 查找多个
	 *
	 * @param collection 标识集合
	 * @return
	 */
//	Result<List<GetDocumentReleaseResponse>> listDocumentReleaseById(Collection<Long> collection);

	/**
	 * 查找多个
	 *
	 * @param request 查找条件
	 * @return
	 */
//	Result<List<GetDocumentReleaseResponse>> listDocumentRelease(ListDocumentReleaseRequest request);

	/**
	 * 统计个数
	 *
	 * @param request 查找条件
	 * @return
	 */
//	Result<Integer> countDocumentRelease(ListDocumentReleaseRequest request);

	/**
	 * 分页查找
	 *
	 * @param request 查找条件
	 * @return
	 */
	Result<Page<GetDocumentReleaseResponse>> pageDocumentRelease(ListDocumentReleaseRequest request);

}
